import request from '@/utils/request'
export function doAdd(data) {
  //添加
  return request({
    url: '/adminapi/starteamleader/add',
    method: 'post',
    data,
  })
}
export function getList(data) {
  return request({
    url: '/adminapi/starteamleader/list', //cha
    method: 'post',
    data,
  })
}
export function getwoList(params) {
  return request({
    url: '/adminapi/crewjob/jobByLeaderId', //领队所发布的事项
    method: 'get',
    params,
    headers: { 'content-type': 'application/x-www-form-urlencoded' }, //请求头
  })
}
export function getthreeList(params) {
  return request({
    url: '/adminapi/staractorinfo/infoLeaderId', //领队旗下的演员列表
    method: 'get',
    params,
    headers: { 'content-type': 'none' }, //请求头
  })
}
export function doEdit(data) {
  return request({
    url: '/adminapi/starteamleader/update', //cha
    method: 'post',
    data,
  })
}
export function check(data) {
  return request({
    url: '/adminapi/starteamleader/check', //cha
    method: 'post',
    data,
  })
}
export function genggai(data) {
  return request({
    url: '/adminapi/starteamleader/updatelocked', //cha
    method: 'post',
    data,
  })
}
export function geturl(params) {
  return request({
    url: '/adminapi/file/get', //获取图片路径
    method: 'get',
    params,
  })
}
